package zuoye23.zuoye3;

public class Test {
    public static void main(String[] args) {
        Cat cat =new Cat();
        cat.setName("汤姆");
        cat.setHealth(100);
        cat.setWeight(200);

        Mouse mouse = new Mouse();
        mouse.setName("杰瑞");
        mouse.setHealth(100);

        String chi = cat.chi(mouse);
        System.out.println(chi);
    }
}
